<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link href="__PUBLIC__/style/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="__PUBLIC__/js/js.js"></script>
<script type="text/javascript" src="__PUBLIC__/kindeditor/kindeditor.js"></script>
<script type="text/javascript" src="__PUBLIC__/kindeditor/lang/zh_CN.js"></script>
<link href="__PUBLIC__/kindeditor/themes/default/default.css" rel="stylesheet" type="text/css" />
</head>

<body id="page">
<h2 class="tag"> 当前位置: 网站设置 &gt; 系统设置 &gt; 网站信息</h2>
<div class="box">
<form action="__URL__/index" method="post" >
<div class="page_menu"><a href="__URL__/index">网站信息</a><a href="__URL__/core">核心设置</a><a href="__APP__/dbback">数据库备份</a></div>
<div class="infobox">
  <table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table_b">
    <tr>
      <td width="120" align="right" class="td">网站名称：</td>
      <td class="td"><input name="sitename" type="text"  value="{$config['sitename']}" id="sitename" size="30" class="txt"></td>
    </tr>
    <tr>
      <td align="right" class="td">网站域名：</td>
      <td class="td"><input name="siteurl" type="text"  value="{$config['siteurl']}" id="siteurl" size="30" class="txt">
        <span class="sm">形式为：http://www.seodaxue.com　不需要加"/"</span></td>
    </tr>
    <tr>
      <td width="120" align="right" class="td">ICP证书号：</td>
      <td class="td"><input name="icp" type="text"  value="{$config['icp']}" id="icp" size="30" class="txt"></td>
    </tr>
    <tr>
      <td width="120" align="right" class="td">站长邮箱：</td>
      <td class="td"><input name="email" type="text"  value="{$config['email']}" id="email" size="30" class="txt"></td>
    </tr>
    <tr>
      <td width="120" align="right" class="td">关 键 字：</td>
      <td class="td"><textarea name="keywords"  rows="3" id="keywords" class="tet">{$config['keywords']}</textarea></td>
    </tr>
    <tr>
      <td width="120" align="right" class="td">网站描述：</td>
      <td class="td"><textarea name="description"  rows="3" id="description" class="tet">{$config['description']}</textarea></td>
    </tr>
  </table>
</div>
  <div class="page_menu"><a href="#">网站LOGO</a></div>
  <div class="infobox">
    <table width="98%" border="0" cellpadding="3" cellspacing="1" id="tagContent0" class="table_b">
      <tr>
        <td width="120" align="right" class="td">选择图片：</td>
        <td class="td">
		<script type="text/javascript">
			KindEditor.ready(function(K) {
				var editor = K.editor({
					allowFileManager : true
				});
				K('#image').click(function() {
					editor.loadPlugin('image', function() {
						editor.plugin.imageDialog({
							imageUrl : K('#logo').val(),
							clickFn : function(url, title, width, height, border, align) {
								K('#logo').val(url);
								editor.hideDialog();
							}
						});
					});
				});
			});
		</script>
          <input name="logo" type="text" id="logo" value="{$config['logo']}"  readonly="readonly" class="txt"/>
          <input type="button" id="image" value="选择图片"  class="button"/></td>
      </tr>
      <tr>
        <td width="100" align="right" class="td">LOGO预览：</td>
        <td class="td"><img src="{$config['logo']}" width="129" height="66"/></td>
      </tr>
    </table>
</div>
  <table width="50%" border="0" cellpadding="3" cellspacing="1">
    <tr>
        <td width="100" align="right" class="td"><input name="do" type="hidden" value="yes" /></td>
      <td class="td">
      <input name="update" type="submit" class="button" value="保存设置"></td>
    </tr>
  </table>
</form>
</div>
</body>
</html>
